import request from '@/utils/request'

// 查询用品列表
export function check_article_list(query) {
  return request({
    url: '/applyWaste/listformanager',
    method: 'get',
    params: query
  })
}

// 提交报废
export function check_submit(data) {
  return request({
    url: '/applyWaste/managerHandleApply',
    method: 'post',
    data: data
  })
}

// 撤回报废申请
export function check_withdrawApply(applyWasteId) {
  return request({
    url: '/applyWaste/withdrawAdvice/' + applyWasteId,
    method: 'post',
  })
}

// 查询报废状态不分页
export function check_articleStatus_list() {
  return request({
    url: '/mycopy/getList',
    method: 'get'
  })
}

